# Contributor: Peter Shkenev <santurysim@gmail.com>
# Maintainer: Peter Shkenev <santurysim@gmail.com>
pkgname=tipidee-man-pages
pkgver=0.0.5.0.1
pkgrel=0
pkgdesc="Unofficial mdoc versions of the tipidee documentation"
url="https://git.sr.ht/~flexibeast/tipidee-man-pages"
arch="noarch"
license="ISC"
options="!check" # no tests
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~flexibeast/tipidee-man-pages/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
install_if="tipidee>=${pkgver%.*} docs"

package() {
	make DESTDIR="$pkgdir" install

	find "$pkgdir" -type f ! -name "*.gz" \
		-exec gzip -9 {} \;
}

sha512sums="
56b41a556362ba9c86fad31341e0de7ca7183d07bf369a498a7546185a7989435a101f9a09811709683151bc34d82a866481183b91d759d68e6b94cfa7706392  tipidee-man-pages-0.0.5.0.1.tar.gz
"
